From 8d574cc7725981176ae64b73830a4830b3d8faf4 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 3 Jul 2008 11:31:40 +0100 Subject: [PATCH] vtpm: Add two missing quotes in the vTPM hotplug script. Signed-off-by: Stefan Berger --- tools/examples/vtpm-common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/examples/vtpm-common.sh b/tools/examples/vtpm-common.sh index 93a40096ba..a45868eefd 100644 --- a/tools/examples/vtpm-common.sh +++ b/tools/examples/vtpm-common.sh @@ -310,11 +310,11 @@ function vtpm_remove_instance () { instance="0" - if [ "$uuid != "" ]; then + if [ "$uuid" != "" ]; then instance=$(vtpmdb_find_instance $uuid) fi - if [ "$instance == "0" ]; then + if [ "$instance" == "0" ]; then domname=$(xenstore_read "$XENBUS_PATH"/domain) instance=$(vtpmdb_find_instance $domname) fi -- 2.30.2